<section class="scrollable padder-md" data-ng-controller="RouteSiteListController">
    <div class="m-b-md">
        <h3 class="m-b-none text-black">
            <i class="fa fa-list m-r-sm"></i>站点配置
        </h3>
    </div>
    <!-- Toolbar 按钮栏 -->
    <section class="panel panel-default scrollable">
        <header class="panel-heading">
            <div class="row">
                <div class="col-sm-5">
                    <div class="od-head-title">站点列表</div>
                </div>
            </div>
        </header>
        <form class="form-inline" data-ng-submit="getObjList()">
            <div class="wrapper row">
                <div class="col-sm-10">
                    <div class="form-group">
                        <input type="text"
                               class="input-sm form-control"
                               data-ng-model="queryObj.alias" placeholder="简称">
                    </div>
                    <div class="form-group">
                        <input type="text"
                               class="input-sm form-control"
                               data-ng-model="queryObj.name" placeholder="站点名">
                    </div>
                    <div class="form-group">
                        <button class="form-control btn btn-sm btn-warning " type="submit">查询</button>
                    </div>
                </div>
                <div class="col-sm-2 text-right">
                    <!--<div class="form-group">-->
                        <!--<button class="form-control btn btn-sm btn-primary " type="button" data-ng-click="resetParam()">重置</button>-->
                    <!--</div>-->
                    <div class="form-group">
                        <button class="form-control btn btn-sm btn-success " type="button" data-ng-click="add()">新增</button>
                    </div>
                </div>
            </div>
        </form>
        <!-- 表格部分 -->
        <div class="table-responsive">
            <table class="table table-striped b-t b-light">
                <thead>
                <tr>
                    <th class="col-xs-1">序号</th>
                    <th class="col-xs-2">简称</th>
                    <th class="col-xs-6">站点名</th>
                    <th class="col-xs-3">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr data-ng-repeat="routeSite in routeSiteList">
                    <td>{{(pagerObj.currentPage-1)*pagerObj.pageSize+$index+1}}</td>
                    <td>{{routeSite.alias}}</td>
                    <td>{{routeSite.name}}</td>
                    <td>
                        <a href="javascript:void(0);" class="text-primary m-r-xs" data-ng-click="edit(routeSite.id)"><i class="fa fa-edit"></i>编辑</a>
                        <a href="javascript:void(0);" class="text-danger m-r-xs" data-ng-click="delete(routeSite)"><i class="fa fa-remove"></i>删除</a>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>

        <!-- 分页控件 -->
        <footer class="panel-footer">
            <div data-ng-include="'comm/pager/pager.html'"></div>
        </footer>
    </section>
</section>
